<%--
  Created by IntelliJ IDEA.
  User: veneno
  Date: 2021/8/4
  Time: 16:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>RestFul</title>
</head>
<body>
<p>
  <h3>添加</h3>
<form action="restful/save" method="post">
  姓名: <input type="text" name="username"> <br>
  <input type="submit" value="提交">
</form>
</p>


<p>
<h3>修改</h3>
<form action="restful/update/123" method="post">
    <input type="hidden" value="PUT" name="_method">
    姓名: <input type="text" name="username"> <br>
    <input type="submit" value="提交">
</form>
</p>


<p>
<h3>删除</h3>
<form action="restful/del/132" method="post">
    <input type="hidden" name="_method" value="DELETE">
    姓名: <input type="text" name="username"> <br>
    <input type="submit" value="提交">
</form>
</p>


<p>
<h3>获取</h3>
<form action="restful/get/12313" method="post">
    <input type="hidden" value="GET" name="_method">
    姓名: <input type="text" name="username"> <br>
    <input type="submit" value="提交">
</form>
</p>
</body>
</html>
